package com.yuelao.yuelao_backend.entity.json;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

@Data
public class BasicInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String nickname;
    private String avatarUrl;
    private String gender;
    private LocalDate birthday;
    private String constellation;
    private String occupation; // 修正为 occupation
    private String education;
    private String income;
    private String maritalStatus;
    private Integer height; // 修正为 Integer
    private String weight;
    private String hometown;
    private String currentResidence;
    private String signature;
    private String bio;
    private String school; // 新增 school 字段

    // 显式添加 getter 方法以确保兼容性
    public String getNickname() {
        return nickname;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }
}